package com.kun.base.dubbo.consumer.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.kun.base.dubbo.service.DemoService;
import org.springframework.stereotype.Service;

@Service
public class ConsumerDemoService {

    @Reference
    private DemoService demoService;


    public void getMessage(){
        System.out.println(demoService.getMessage());
    }
}
